NoSQL operator: getcolumn

Selects columns by name (and order) and outputs a table with
these columns.

Usage: getcolumn [options] [column ...]

Options:
    --input (-i) 'file'
      Read input from 'file' instead of STDIN.

    --output (-o) 'file'
      Write output to 'file' instead of STDOUT.

    --remove (-r)
      Invert the program behaviour, i.e. output only the table
      columns that are *not* listed on the command line.

    --last (-l)
      If the input table contains duplicated column names pick
      the last occurrence of each. The default is to pick the
      first one. This is sometimes useful after the 'jointable'
      operator. This option applies only to duplicated columns
      that may be present in the input table.  If multiple new
      columns with the same name are passed on the command-line,
      they will always be added/inserted only once.

    --help (-h)
      Display this help text.

    --no-header (-N)
      Suppress table header from output.

Notes:

Selects columns by name (and order) and outputs a table with those
columns. Can effectively select, order or delete columns. If no columns
are specified, then nothing is printed. If a column name does not match
any of the columns in table, a new column with that name is inserted in
that location. Any duplicated columns are removed, regardless of whether
they were already present in the input table or they were specified as
new ones on the command line.
Back